using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN LichHocLopTinChiService****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:24/02/2012 20:02:25</para>
	/// <para>Class Name: LichHocLopTinChiService</para>
	/// <para>Description: </para>
	///</summary>

	
	public partial class LichHocLopTinChiService : ILichHocLopTinChiService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: LichHocLopTinChi_ID</para>
		/// <para>Output: LichHocLopTinChiEntity</para>
		///</summary>
		public LichHocLopTinChiEntity SelectOne(int LichHocLopTinChi_ID){
			LichHocLopTinChiDAO dao = new LichHocLopTinChiDAO();
			return dao.SelectOne(LichHocLopTinChi_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of LichHocLopTinChiEntity</para>
		///</summary>
		public List<LichHocLopTinChiEntity> SelectAll(){
			LichHocLopTinChiDAO dao = new LichHocLopTinChiDAO();
			return dao.SelectAll();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDS(){
			LichHocLopTinChiDAO dao = new LichHocLopTinChiDAO();
			return dao.SelectAllDS();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of LichHocLopTinChiEntity</para>
		///</summary>
		public List<LichHocLopTinChiEntity> SelectAllFilter(string strFilter){
			LichHocLopTinChiDAO dao = new LichHocLopTinChiDAO();
			return dao.SelectAllFilter(strFilter);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDSFilter(string strFilter){
			LichHocLopTinChiDAO dao = new LichHocLopTinChiDAO();
			return dao.SelectAllDSFilter(strFilter);
		}
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: Save</para>
		/// <para>Input: LichHocLopTinChiEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Save(LichHocLopTinChiEntity o){
			LichHocLopTinChiDAO dao = new LichHocLopTinChiDAO();
			return dao.Save(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: Save</para>
		/// <para>Input: LichHocLopTinChiEntity</para>
		/// <para>Output: LichHocLopTinChiEntity</para>
		///</summary>
		public LichHocLopTinChiEntity SaveRet(LichHocLopTinChiEntity o){
			LichHocLopTinChiDAO dao = new LichHocLopTinChiDAO();
			dao.Save(o);
			return o;
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of LichHocLopTinChiEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void SaveList(List<LichHocLopTinChiEntity> list){
			LichHocLopTinChiDAO dao = new LichHocLopTinChiDAO();
			dao.SaveList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of LichHocLopTinChiEntity</para>
		/// <para>Output: List of LichHocLopTinChiEntity</para>
		///</summary>
		public List<LichHocLopTinChiEntity> SaveListRet(List<LichHocLopTinChiEntity> list){
			this.SaveList(list);
			return list;
		}
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: Update</para>
		/// <para>Input: LichHocLopTinChiEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Update(LichHocLopTinChiEntity o){
			LichHocLopTinChiDAO dao = new LichHocLopTinChiDAO();
			return dao.Update(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of LichHocLopTinChiEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void UpdateList(List<LichHocLopTinChiEntity> list){
			LichHocLopTinChiDAO dao = new LichHocLopTinChiDAO();
			dao.UpdateList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: UpdateTietHoc_ID</para>
		/// <para>Input: NewTietHoc_ID,LichHocLopTinChi_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateTietHoc_ID(int NewTietHoc_ID,int LichHocLopTinChi_ID){
			LichHocLopTinChiDAO dao = new LichHocLopTinChiDAO();
			return dao.UpdateTietHoc_ID(NewTietHoc_ID,LichHocLopTinChi_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: UpdateTuanHoc_ID</para>
		/// <para>Input: NewTuanHoc_ID,LichHocLopTinChi_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateTuanHoc_ID(int NewTuanHoc_ID,int LichHocLopTinChi_ID){
			LichHocLopTinChiDAO dao = new LichHocLopTinChiDAO();
			return dao.UpdateTuanHoc_ID(NewTuanHoc_ID,LichHocLopTinChi_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: UpdateThuTrongTuan_ID</para>
		/// <para>Input: NewThuTrongTuan_ID,LichHocLopTinChi_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateThuTrongTuan_ID(int NewThuTrongTuan_ID,int LichHocLopTinChi_ID){
			LichHocLopTinChiDAO dao = new LichHocLopTinChiDAO();
			return dao.UpdateThuTrongTuan_ID(NewThuTrongTuan_ID,LichHocLopTinChi_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: UpdatePhongHoc_ID</para>
		/// <para>Input: NewPhongHoc_ID,LichHocLopTinChi_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdatePhongHoc_ID(int NewPhongHoc_ID,int LichHocLopTinChi_ID){
			LichHocLopTinChiDAO dao = new LichHocLopTinChiDAO();
			return dao.UpdatePhongHoc_ID(NewPhongHoc_ID,LichHocLopTinChi_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: UpdateGiangVienLopTinChi_ID</para>
		/// <para>Input: NewGiangVienLopTinChi_ID,LichHocLopTinChi_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateGiangVienLopTinChi_ID(int NewGiangVienLopTinChi_ID,int LichHocLopTinChi_ID){
			LichHocLopTinChiDAO dao = new LichHocLopTinChiDAO();
			return dao.UpdateGiangVienLopTinChi_ID(NewGiangVienLopTinChi_ID,LichHocLopTinChi_ID);
		}
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: Delete</para>
		/// <para>Input: LichHocLopTinChiEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Delete(LichHocLopTinChiEntity o){
			LichHocLopTinChiDAO dao = new LichHocLopTinChiDAO();
			return dao.Delete(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: LichHocLopTinChi_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool DeleteByID(int LichHocLopTinChi_ID){
			LichHocLopTinChiDAO dao = new LichHocLopTinChiDAO();
			return dao.DeleteByID(LichHocLopTinChi_ID);
		}
		#endregion

		#region Select join to GiangVienLopTinChiThuTrongTuan functions
		#endregion

		#region Select join to GiangVienLopTinChi functions
		#endregion

		#region Select join to ThuTrongTuan functions
		#endregion

		#region Select,delete by LichHocLopTinChi_ID functions
		#endregion

		#region Select,delete by ThuTrongTuan_ID functions
		#endregion

		#region Select,delete by GiangVienLopTinChi_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END LichHocLopTinChiWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

